import axios from '@/plugins/axios'
import request from "@/plugins/axios";

export function axiosGet(url, params) {
    return axios.get(url, {params})
}

export function axiosPost(url, data) {
    return axios.post(url, data)
}

export function axiosPut(url, data) {
    return axios.put(url, data)
}
export function axiosDelete(url) {
    return axios.delete(url)
}
export function getShowCharts(data) {
    return request({
        url: '/sales/orders/selSaleInMouth/'+data,
        method: "post",
    })
}